package com.kerbores.wx.api.impl;

import com.kerbores.wx.utils.Wxs;

public class BasicWxHandler extends AbstractWxHandler {

	protected String token;

	protected BasicWxHandler() {
	}

	public BasicWxHandler(String token) {
		this.token = token;
	}

	@Override
	public boolean check(String signature, String timestamp, String nonce, String key) {
		return Wxs.check(token, signature, timestamp, nonce);
	}

}
